package member

import (
	"github.com/go-playground/validator/v10"
)

func NameValid(fl validator.FieldLevel) bool {
	if fl.Field().String() == "admin" {
		return false
	}
	return true
}
